package com.ml.mall.bean.req.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description 密码重置
 * @author pl
 * @date 2021/6/17
 * @version 1.0
*/
@Data
@ApiModel(value = "邮件重置密码")
public class SysResetPwdDto {
    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    @NotBlank(message = "账号不能为空")
    private String acc;
    /**
     * 原始密码
     */
    @ApiModelProperty(value = "原始密码")
    @NotBlank(message = "原始密码不能为空")
    private String pwd;
    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String verifyCode;
}
